package com.demo.rpc.annotation;


import org.springframework.transaction.annotation.Transactional;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by hunter
 *
 * @Description 分布式事务注解, 同时支持spring事务注解
 */
@Transactional
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface RPCTransactional {
}
